package com.generic.potential.type.demo2;

import java.util.Collection;

/**
 * 辅助方法，产生更优雅代码的一种惯用技巧
 * 
 * @author Administrator
 *
 */
public class AdapterHelper {

	public static <T> Addable<T> collectionAdapter(Collection<T> c) {
		return new Adapter<T>(c);
	}

}
